home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
mscheap2
/
status.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-07
|
362b
|
21 lines
#include <stdio.h>
#include <heap.h>
//
// Example of _heapstat from heap.man
//
int main()
{
printf("Heap status : %s\n", _heapstat( _heapchk() ) );
malloc( 1234 );
printf("Heap status : %s\n", _heapstat( _heapchk() ) );
return( 0 );
}